.lib "bullet.dll"

initBullet%(gravX#, gravY#, gravZ#):"__initBullet@12"
shutDownBullet(bullet%):"__shutDownBullet@4"
getDynamicsWorld%(bullet%):"__getDynamicsWorld@4"
updateBullet(bullet%, timeStep#, maxSubSteps%, fixedTimeStep#):"__updateBullet@16"
	
; rigid body functions
createRigidBody%(bullet%, typ%, mass#, playerControlled%, rbsize*, rbpos*):"__createRigidBody@24"
removeRigidBodyFromWorld(bullet%, body%):"__removeRigidBodyFromWorld@8"
deleteRigidBody(bullet%, body%):"__deleteRigidBody@8"
bb_getRigidBodyPosition%(body%):"_bb_getRigidBodyPosition@4"
setRigidBodyPosition(rigidBody%, rbpos*):"__setRigidBodyPosition@8"
bb_getRigidBodyRotation%(body%):"_bb_getRigidBodyRotation@4"
userControlledBody(body%):"__userControlledBody@4"
translateRigidBody(body%, x#, y#, z#):"__translateRigidBody@16"
pitchRigidBody(body%, x#):"__pitchRigidBody@8"
yawRigidBody(body%, y#):"__yawRigidBody@8"
rollRigidBody(body%, z#):"__rollRigidBody@8"
